﻿using System;
using System.ComponentModel.Composition;

namespace ASPItalia.ModelVirtualCasting.Parts
{
    [MetadataAttribute()]
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class RepositoryMetadataAttribute : ExportAttribute, IRepositoryMetadata
    {
        public bool IsFake { get; set; }
        public string Name { get; set; }

        public RepositoryMetadataAttribute()
        {
            this.IsFake = false;
            this.Name = string.Empty;
        }
    }
}
